package cn.yitun.chat.yitunserverimapicore.business.group.service;

import cn.yitun.chat.yituncommonmessage.Info;

import java.util.List;

/**
 * 
 * Date 2019-01-23 22:01:34<br>
 * Description
 * 
 * @author yitun
 * @since 1.0.0
 */
public interface GroupInviteService {

	/**
	 * 
	 * Date 2019-01-26 23:23:05<br>
	 * Description 邀请加入群
	 * 
	 * @author yitun
	 * @param inviterUserId
	 * @param groupId
	 * @param userIds
	 * @return
	 * @since 1.0.0
	 */
	Info invite(Long inviterUserId, Long groupId, List<Long> userIds);
	/**
	 * 
	 * Date 2019-01-26 23:49:54<br>
	 * Description 管理员或者群主验证处理邀请
	 * 
	 * @author yitun
	 * @param verifyHandleUserId
	 * @param inviteApplyIds
	 * @param verifyHandleType
	 * @return
	 * @since 1.0.0
	 */
	Info verifyHandle(Long verifyHandleUserId, List<Long> inviteApplyIds, String verifyHandleType);

	/**
	 * 
	 * Date 2019-01-26 23:55:25<br>
	 * Description 用户处理被邀请加入群，同意/拒绝
	 * 
	 * @author yitun
	 * @param inviteeUserId
	 * @param inviteApplyId
	 * @param inviteeHandleType
	 * @return
	 * @since 1.0.0
	 */
	Info inviteeHandle(Long inviteeUserId, Long inviteApplyId, String inviteeHandleType);

}
